Skip to content

[MISC] (8.4/edge) Modernize Rock testing, take 2 - #41

Merged
astrojuanlu merged 4 commits into
8.4/edgefrom
juanlu/modernize-rock-testing-take-2
Jul 15, 2026
Merged

[MISC] (8.4/edge) Modernize Rock testing, take 2#41
astrojuanlu merged 4 commits into
8.4/edgefrom
juanlu/modernize-rock-testing-take-2

Conversation

@astrojuanlu

@astrojuanlu astrojuanlu commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Similar in spirit to canonical/mysql-snap#35.

This one is a bit more complicated because, as there's no official LXD VM backend in spread (canonical/spread#185, canonical/spread#286) and the QEMU one seems to be not very healthy (canonical/spread#140, canonical/spread#171), we have to jump through a few hoops to actually allocate LXD VMs from spread, which is needed to test our rock. #40 tried to use Podman inside LXD containers, without success.

This PR achieves separation between rockcraft pack and spread, meaning: you can run the tests without packing the artifact (or even try more novel approaches).

To achieve that, I needed to:

Notice that spread/.extension is not strictly needed anymore, but those scripts and instructions need to live somewhere anyway, I wanted to minimize the diff in this already sensitive PR.

@astrojuanlu
astrojuanlu force-pushed the juanlu/modernize-rock-testing-take-2 branch from 450bdd6 to badfa57 Compare July 14, 2026 14:00
@astrojuanlu
astrojuanlu marked this pull request as ready for review July 14, 2026 14:30
@astrojuanlu astrojuanlu added the not bug or enhancement PR is not 'bug' or 'enhancement'. For release notes label Jul 14, 2026

@paulomach paulomach left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no comments

Comment thread spread/.extension
@astrojuanlu
astrojuanlu force-pushed the juanlu/modernize-rock-testing-take-2 branch 2 times, most recently from 4859d90 to 7e9e8a2 Compare July 15, 2026 09:04
@astrojuanlu

This comment was marked as outdated.

@astrojuanlu
astrojuanlu force-pushed the juanlu/modernize-rock-testing-take-2 branch from 7e9e8a2 to b10ab60 Compare July 15, 2026 09:28
Comment thread spread/.extension
Comment thread spread/.extension Outdated
Comment thread spread.yaml
Comment thread spread.yaml
Comment thread spread.yaml
@astrojuanlu
astrojuanlu force-pushed the juanlu/modernize-rock-testing-take-2 branch from 9014381 to 11cdcb1 Compare July 15, 2026 12:50
@astrojuanlu
astrojuanlu merged commit f0d6aad into 8.4/edge Jul 15, 2026
15 of 16 checks passed
@astrojuanlu
astrojuanlu deleted the juanlu/modernize-rock-testing-take-2 branch July 15, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

not bug or enhancement PR is not 'bug' or 'enhancement'. For release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants